package com.boot.util;


public class Constants {

    /**
     * shiro采用加密算法
     */
    public static final String HASH_ALGORITHM = "SHA-1";

    /**
     * 生成Hash值的迭代次数
     */
    public static final int HASH_INTERATIONS = 1024;

    /**
     * 生成盐的长度
     */
    public static final int SALT_SIZE = 8;

    /**
     * 验证码
     */
    public static final String VALIDATE_CODE = "validateCode";

    /**
     * 系统用户默认用户名
     */
    public static final String DEFAULT_USERNAME = "admin";

    /**
     * 系统用户默认密码
     */
    public static final String DEFAULT_PASSWORD = "12345678";

    /**
     * 学号工号长度
     */
    public static final int STUDENTNUMBER_LENGTH = 6;
    public static final int WORKNUMBER_LENGTH = 8;

    public static final int STU_ROLE = 0;
    public static final int TEA_ROLE = 1;
    public static final int ADMIN_ROLE = 3;

    //管理员
    //public static final String ADMIN="admin";
    //public static final String ADMIN_PWD="123";
}
